package com.cjx.demo1.feign;

import com.cjx.common.api.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
*@Description demo1-feign
*@Verson v1.0.0
*@Author cjunxian
*@Date
*/
@FeignClient("cjx-demo1-service")
public interface Demo1Feign {

    /**
     * demo1获取getConfig
     * @return
     */
    @GetMapping("/demo1/getConfig")
    CommonResult getConfig();
}
